<template>
  <div class="action-buttons">
    <a-button @click="goBack">返回</a-button>
  </div>
</template>

<script lang="ts" setup>
import { useRouter } from 'vue-router'

const router = useRouter()

const goBack = () => {
  router.go(-1)
}
</script>

<style scoped>
.action-buttons {
  margin-top: 24px;
  text-align: right;
}

.action-buttons button {
  margin-left: 8px;
}
</style>
